Skip to content

Add screen reader mode support, deprecate keyboard controls toggle#15

Draft
microbit-matt-hillsdon wants to merge 1 commit into
mainfrom
iframe-screen-reader-mode
Draft

Add screen reader mode support, deprecate keyboard controls toggle#15
microbit-matt-hillsdon wants to merge 1 commit into
mainfrom
iframe-screen-reader-mode

Conversation

@microbit-matt-hillsdon

@microbit-matt-hillsdon microbit-matt-hillsdon commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Adds MakeCodeFrameDriver.toggleScreenReaderMode() sending the new "togglescreenreadermode" action and an optional screenReaderMode field on the info response, both supported by the next MakeCode release. toggleKeyboardControls() remains for API compatibility but is deprecated as current MakeCode versions keep keyboard controls always enabled, so it does nothing.

The storybook toolbar button now exercises the screen reader toggle, and the editor stories' version control gains a "local" option pointing at a locally running pxt-microbit dev server for testing unreleased editor changes.

Depends on microsoft/pxt#11459

Draft until MakeCode release with that change.

I've tested this locally with the above pxt PR.

Adds MakeCodeFrameDriver.toggleScreenReaderMode() sending the new
"togglescreenreadermode" action and an optional screenReaderMode field
on the info response, both supported by the next MakeCode release.
toggleKeyboardControls() remains for API compatibility but is
deprecated as current MakeCode versions keep keyboard controls always
enabled, so it does nothing.

The storybook toolbar button now exercises the screen reader toggle,
and the editor stories' version control gains a "local" option pointing
at a locally running pxt-microbit dev server for testing unreleased
editor changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant